package com.dys;

import com.dys.controller.UserController;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author: 疾风
 * @ClassName: ${NAME}
 * @Description: 入口类
 * @CreateDate: 2024/10/18
 * @Version: v1.0.0
 */
public class App {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("application.xml");
        UserController userController = context.getBean(UserController.class);
        userController.listUsers();
    }
}